package com.second.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
public class Users {
    @NotNull
    private String userId;

    @NotNull
    private String userName;


    private String passWord;

    @NotNull
    private String salt;

    @NotNull
    @Email
    private String email;

    private String mobile;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

//

    private String status;

    private String deptId;

//    private String userOrgCode;
//
//    private int createTag;//创建标识 1代表是由超级管理员创建的
}
